package com.junzhiit.nengji.cms.web.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.cms.service.ShopLocatedIntegralService;
import com.junzhiit.nengji.cms.web.vo.DataTablesParamVO;
import com.junzhiit.nengji.cms.web.vo.ShopLocatedIntegralVO;

import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/shop/located/integral")
public class ShopLocatedIntegralController {
	
	@Autowired
	private ShopLocatedIntegralService shopLocatedIntegralService;
	
	@ApiOperation(value = "获取入驻商户营业积分信息")
	@RequestMapping(method=RequestMethod.GET)
	public Map<String, Object> findAll(ShopLocatedIntegralVO shopLocatedIntegralVO,DataTablesParamVO dtp){
		return shopLocatedIntegralService.findAll(shopLocatedIntegralVO,dtp);
	}
	
}
